﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Web;

namespace Web
{
    public class BaseCommon
    {
        //反射获取公用名词类dll
        static Assembly ass = Assembly.Load("CommonNoun");
        public static string GetNoun(string nounKey, CommonNounType nt = CommonNounType.System)
        {
            return ass.GetType("CommonNoun." + nt.ToString()).GetField(nounKey).GetValue(null).ToString();
        }
    }
    public enum CommonNounType
    {
        System
    }
}